package com.lt.job_hunting;

public class Client {

	public static void main(String[] args) {		
		LookJobWebsite lj = new LookJobWebsite();
		ZhangSan zs = new ZhangSan();
		LiSi ls = new LiSi();
		WangEr we = new WangEr();
		lj.attach(zs);
		lj.attach(ls);
		lj.attach(we);
		zs.addJobFromPerson();
		zs.lookingJob();
		ls.addJobFromPerson();
		ls.lookingJob();
		we.addJobFromPerson();
		we.lookingJob();
		lj.addJobFromCompany();
		lj.notifyObserver();
	}

}
